import request from '@/utils/request'
// -------- 配置 --------

let BASE_ADDRESS = '/base/config'

// 查询 所有 图片设置配置项
/* /base/config/listPhoto */
export const getConfigListPhotoApi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/listPhoto`,
        method: 'get',
        params: data
    })
}

// 修改 多项 图片设置配置项
/* /base/config/editPhoto */
export const getConfigEditPhotoApi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/editPhoto`,
        method: 'put',
        data: data
    })
}